package com.itheima.info.manager.dao;

import com.itheima.info.manager.domain.Teacher;

import java.util.ArrayList;

public interface BaseTeacherDao {
    //增
    void addTeacher(Teacher teacher);
    //删
    void deleteTeacher(String id);
    //查
    ArrayList findAllTeacher();
    //改
    void updateTeacher(String id, Teacher teacher);
    //根据ID获取索引
    int getIndex(String id);

}
